﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    [Table("ProjectNodePoint")]
    public class ProjectNodePoint
    {
        [Key()]
        public Guid ID { get; set; }
        public Guid ProjectNodeID { get; set; }
        public Guid PointID { get; set; }
        public int Order { get; set; }
        public PointStatusEnum Status { get; set; }
        [ForeignKey("PointID")]
        public virtual Point PointItem { get; set; }
        [ForeignKey("ProjectNodeID")]
        public virtual ProjectNode ProjectNodeItem { get; set; }
    }
}
